<div class="main-header">
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container">
            <!-- 导航头部 -->
            <div class="navbar-header">
                <!-- 移动设备上的导航切换按钮 -->
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-example">
                    <span class="sr-only">切换导航</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <!-- 品牌名称或logo -->
                <a class="navbar-brand" href="{:url('/')}">My Application</a>
            </div>
            <!-- 导航项目 -->
            <div class="collapse navbar-collapse navbar-collapse-example">
                <!-- 一般导航项目 -->
                <ul class="nav navbar-nav">
                    <li class="<?php echo('[active]'!='index' ?: 'active'); ?>"><a href="{:url('/')}">网站首页</a></li>
                    <li class="<?php echo('[active]'!='aboutus' ?: 'active'); ?>"><a href="{:url('/aboutus')}">关于我们</a></li>
                    <li class="<?php echo('[active]'!='products' ?: 'active'); ?>"><a href="{:url('/products')}">产品展示</a></li>
                    <li class="<?php echo('[active]'!='program' ?: 'active'); ?>"><a href="{:url('/program')}">解决方案</a></li>
                    <li class="<?php echo('[active]'!='news' ?: 'active'); ?>"><a href="{:url('/news')}">企业动态</a></li>
                    <li class="<?php echo('[active]'!='contactus' ?: 'active'); ?>"><a href="{:url('/contactus')}">联系我们</a></li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">语言 <b class="caret"></b></a>
                        <ul class="dropdown-menu" role="menu">
                            <li><a href="{:url('/')}">中文版本</a></li>
                            <li><a href="{:url('/en')}">英文版本</a></li>
                            <li><a href="{:url('/ja')}">日语版本</a></li>
                            <li><a href="{:url('/de')}">俄语版本</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
</div>